package com.xiaomi.back.service.bill;

import com.xiaomi.back.dao.bill.Back_billDao;
import com.xiaomi.pojo.Bill;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

@Service
public class BillBackImpl implements  BillBackService{

    @Autowired
    private Back_billDao billDao;

    @Override
    public int GetUndelivered() {
        return billDao.GetUndelivered();
    }

    @Override
    public Bill getBid(String bid) {
        return billDao.getBid(bid);
    }

    @Override
    public int UpOrderState(int state, String bid) {
        return billDao.UpOrderState(state,bid );
    }
}
